package com.ruoyi.system.api.crm;

import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.system.api.factory.RemoteEmployeeFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author: isBao
 * Description:TODO:职员信息feigen
 */

@FeignClient(contextId = "remoteEmployeeService",name="ipms-crm",fallbackFactory = RemoteEmployeeFallbackFactory.class)
public interface RemoteEmployeeService {

    /* 获取撰稿人 */
    @GetMapping("/crm/employee/getWriter")
    public AjaxResult getEmployee();
}
